package com.yootoo.bsuser.stream.listener;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.amqp.rabbit.annotation.RabbitHandler;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

import com.rabbitmq.client.Channel;
import com.yootoo.bsuser.config.RabbitConfig;

@Component
//@RabbitListener(queues =RabbitConfig.QUEUE_A)
public class MsgReceiverC_one {
    private final Logger logger = LoggerFactory.getLogger(this.getClass());
 
    @RabbitHandler
    public void process(Channel channel,String content) {
            logger.info("处理器one接收处理队列A当中的消息： " + content);
    }

}